#ifndef NR_XMLTOMONGODB_TEST_H
#define NR_XMLTOMONGODB_TEST_H

#include "nr_io.h"
#include "nr_device_item_server.h"
#include "nr_device_type.h"

class nr_xmlTomongodb_test
{
public:
    nr_xmlTomongodb_test();
    ~nr_xmlTomongodb_test();

    //read from xml, write to mongodb
    void run();

    //read from mongodb, write to xml(should be rename)
    void validate();

private:
    nr_io *m_xml_io;
    nr_io *m_mongodb_io;
    nr_device_types m_device_types;
    nr_device_item_server m_device_item_server;
};

#endif